﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListCategories.ascx.cs" Inherits="Controls_ListCategories" %>

<div id="listmain">
<asp:Repeater ID="listctrl" runat="server">
    <ItemTemplate>
        <div class="cell">
            <div class="caption font12H">
                <%# Eval("Title") %>
            </div>
            <asp:Repeater ID="items" runat="server" DataSource='<%# Eval("ChildCategories") %>'>
                <ItemTemplate>
                    <div class="font12H indent_li">
                        <a href='<%# Eval("ID", this.DetailUrl) %>' title='<%# Eval("Title") %>'>
                            <%# Eval("Title") %>
                        </a>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </ItemTemplate>
</asp:Repeater>
</div>